package com.probiz.estore.common.model.customer;

import com.probiz.estore.common.model.customer.base.ShopPointTbl;

/**
 * Model - Business object
 * This file won't get overwritten.
 */
public class ShopPoint extends ShopPointTbl {

	
	
	//--------start:积分类型------------
	public static final short TYPE_CUSTOMERREGISTER = (short)1;  //客户注册赠送积分(+)
	public static final short TYPE_FEEDBACK = (short)2;  //反馈获赠积分(+)  history.entityId对应的是该反馈实体id(暂没有)
	public static final short TYPE_REVIEW = (short)3;  //评论获赠积分(+) history.entityId对应的是该评论实体id
	public static final short TYPE_BUY = (short)4;   //客户购物获得积分，包括购物车规则赠送的积分和购买商品的积分(+) history.entityId对应的是该订单实体id
	public static final short TYPE_PAY = (short)5;     //客户用积分支付购物(-) history.entityId对应的是该订单实体id
	public static final short TYPE_PAY_RETURN = (short)6;     //订单取消返还支付积分(-) history.entityId对应的是该订单实体id
	public static final short TYPE_MANUAL = (short)9;  //管理员手动调整积分
	//--------end: 积分类型------------
  	/**
	 * Default Empty Constructor for class ShopPoint
	 */
	public ShopPoint () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ShopPoint
	 */
	public ShopPoint (
		 Integer in_shopPointAccountId
		) {
		super (
		  in_shopPointAccountId
		);
	}

}
